package com.git.contractmanagement.service;


import com.git.contractmanagement.entity.Orders;
import com.git.contractmanagement.entity.dto.OrdersPageQueryDTO;
import com.git.contractmanagement.entity.dto.OrdersSubmitDTO;
import com.git.contractmanagement.entity.result.PageResult;
import com.git.contractmanagement.entity.vo.OrdersSubmitVO;
import org.springframework.stereotype.Service;

@Service
public interface OrderService {


    OrdersSubmitVO submitUserOrder(OrdersSubmitDTO ordersSubmitDTO);

    Orders getOrder(Long orderId);

    void cancelOrder(Long orderId);

    PageResult pageQueryUser(int page, int pageSize, Integer status);

    PageResult pageQuery4User(OrdersPageQueryDTO ordersPageQueryDTO);

    void paySuccess(Long outTradeNo);

    void complet(Long orderId);
}
